using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;
struct MoveComponent:IComponentData{
    public float speed;
    public float3 dir;
}
struct PlayerControlComponent:IComponentData{

}
struct EnemyComponent:IComponentData{

}
struct CharacterAttributeComponent:IComponentData{
    public float hp;
    public float demage;
}
struct GamePreComponent:IComponentData{
    public Entity enemyPre;
    public Entity bulletPre;
    public Entity expPre;
}
struct BulletDataComponet:IComponentData{
    public float demage;
    public float lifeTime;
    public float lifeTimer;
    public bool isPlayer;
}
struct NormalBulletAbilityComponent:IComponentData{
    public float cd;
    public float timer;
    public float demagePercent;
    public float range;
}
struct ExpComponent:IComponentData{

}